#pragma once

typedef void (*timer_fn_t)(void *ctx, long now, HWND hwnd);
typedef long (*SCHEDULE_TIMER_PROC)(int ticks, timer_fn_t fn, void *ctx, HWND hwnd);
typedef int (*RUN_TIMERS_PROC)(long anow, long *next);
typedef void (*EXPIRE_TIMER_CONTEXT_PROC)(void *ctx);
typedef long (*GET_NEXT_TIME_PROC)();
typedef void (*TIMER_CHANGE_NOTIFY_PROC)(long next, HWND hwnd);

#define TIMING_TIMER_ID 1234